package com.yun.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.apache.catalina.User;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.Range;
import org.omg.PortableInterceptor.INACTIVE;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Size;

/**
 * Created by qzy017 on 2019/6/28.
 *
 *用户手环人脸绑定表
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
@Accessors(chain=true)
@ApiModel(value = "programPost", description = "节目推送")
public class UserSupportFace {
    private Integer userSupportFaceId ;



    /*@NotEmpty(message = "userId不可以为空")
    @Size(min=1,max=50,message="userId数字范围再1 到50之间")
    @ApiModelProperty(value = "userId 必须", required = false, example = "1")*/
    private String userId;



    /*@NotEmpty(message = "openId不可以为空")
    @Size(min=1,max=10,message="openId数字范围再1 到10之间")
    @ApiModelProperty(value = "openId 必须", required = false, example = "1")*/
    private String openId;


/*
    @NotEmpty(message = "supportId不可以为空")
    @Length(min=1,max=50,message="手环id再1 到50之间")
    @ApiModelProperty(value = "手环id 必须", required = false, example = "1")*/
    private String supportId ;



  /*  @NotEmpty(message = "人脸ID不可以为空")
    @Range(min=1,max=50,message="人脸ID数字范围再1 到50之间")
    @ApiModelProperty(value = "人脸ID 必须", required = false, example = "1")*/
    private String faceUrl;




   /* @NotEmpty(message = "跑步机标识不可以为空")
    @Length(min=1,max=50,message="跑步机标识围再1 到50之间")
    @ApiModelProperty(value = "跑步机标识 必须", required = false, example = "1")*/
     private String  runningId;


     private String gymId;


     private String  createTime;


}
